import request from '@/service/request'

// 获取轮播图列表
export function getBannerListInterface() {
    return request({
        url: '/banner/list',
    })
}

// 插入轮播图数据
export function addBannerInterface(data) {
    return request({
        url: '/banner/add',
        method: 'post',
        data
    })
}

// 删除轮播图数据
export function delBannerInterface(data) {
    return request({
        url: '/banner/delete',
        data
    })
}